<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/base.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<%=basePath%>css/wall.css">
</head>
<body>
	<jsp:include page="../include/nav.jsp" />
	<div class="container" style="padding-top:60px;">
		<div class="row">
		<jsp:include page="../include/left.jsp" />
			<div class="span9 offset3 wall">
				<div class="breadcrumb span9 head">
					<div style="padding:10px">
						<span style="font-size:16px;font-weight:bold;">
							我的近期任务
						</span>
						<span class="offset4">
							<ul class="nav"style="display:inline;">
								<li class="dropdown">
									<a id="status" class="dropdown-toggle" href="#" data-toggle="dropdown" role="button"style="width:100px">
										任务状态
										<b class="caret"></b>
									</a>
									<ul id="menu1" class="dropdown-menu" aria-labelledby="drop4" role="menu">
										<li>
											<a href="taskProcess.action" tabindex="-1">进行中</a>
										</li>
										<li>
											<a href="" tabindex="-1">已完成</a>
										</li>
										<li>
											<a href="#" tabindex="-1">未完成</a>
										</li>
									</ul>
								</li>
								<li class="dropdown">
									<a id="type" class="dropdown-toggle" href="#" data-toggle="dropdown" role="button"style="width:100px">
										任务类型
										<b class="caret"></b>
									</a>
									<ul id="menu2" class="dropdown-menu" aria-labelledby="drop4" role="menu">
										<li>
											<a href="#" tabindex="-1">所有</a>
										</li>
										<li>
											<a href="#" tabindex="-1">电话</a>
										</li>
										<li>
											<a href="#" tabindex="-1">邮件</a>
										</li>
										<li>
											<a href="#" tabindex="-1">传真</a>
										</li>
										<li>
											<a href="#" tabindex="-1">饭局</a>
										</li>
										<li>
											<a href="#" tabindex="-1">会面</a>
										</li>
										<li>
											<a href="#" tabindex="-1">其他</a>
										</li>
										<li>
											<a href="#" tabindex="-1">纪念日</a>
										</li>
									</ul>
								</li>
							</ul>
						</span>
					</div>
				</div>
				<div>
					<div class="breadcrumb span9 head"style="height:30px;font-size:14px;font-weight:bold;">
						<div style="padding:5px">
							今日任务
						</div>
					</div>
					<div class="span9" style="font-size:14px;font-weight:bold;margin:0px;padding:0px">
						<div >
							<form action="">
								<div class="bs-docs-example">
									<table class="table table-hover">
										<thead>
											<tr>
												<th></th>
												<th>客户</th>
												<th>任务</th>
												<th>时间</th>
											</tr>
										</thead>
										<tbody>
											<c:forEach items="${todayList  }" var="task">
												<tr>
													<td><input type="checkbox"></td>
													<td>${task.contact.contactName }</td>
													<td>${task.content }</td>
													<td>${task.finishTime }</td>
												</tr>
											</c:forEach>
										</tbody>
									</table>
								</div>
							</form>
						</div>
					</div>
					<div class="breadcrumb span9 head"style="height:30px;font-size:14px;font-weight:bold;">
						<div style="padding:5px">
							最近三日任务
						</div>
					</div>
					<div class="span9" style="font-size:14px;font-weight:bold;margin:0px;padding:0px">
						<div >
							<form action="">
								<div class="bs-docs-example">
									<table class="table table-hover">
										<thead>
											<tr>
												<th></th>
												<th>客户</th>
												<th>任务</th>
												<th>时间</th>
											</tr>
										</thead>
										<tbody>
											<c:forEach items="${threeDayList  }" var="task">
												<tr>
													<td><input type="checkbox"></td>
													<td>${task.contact.contactName }</td>
													<td>${task.content }</td>
													<td>${task.finishTime }</td>
												</tr>
											</c:forEach>
										</tbody>
									</table>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript"src="<%=basePath%>js/jquery.js"></script>
	<script type="text/javascript"src="<%=basePath%>js/calendar.js"></script>
	<script type="text/javascript"src="<%=basePath%>js/bootstrap-dropdown.js"></script>
	<script type="text/javascript"src="<%=basePath%>js/bootstrap-modal.js"></script>
	<script type="text/javascript">
		$('.dropdown-toggle').dropdown()
	</script>
</body>
</html>